package com.sdy.supermarket.biz.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sdy.common.model.Response;
import com.sdy.supermarket.biz.model.GsHomeManage;
import com.sdy.supermarket.biz.mapper.GsHomeManageMapper;
import com.sdy.supermarket.biz.service.GsHomeManageService;
import com.sdy.mvc.service.impl.BaseServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author 韩亚恒
 * @since 2019-07-30
 */
@Slf4j
@Service
public class GsHomeManageServiceImpl extends BaseServiceImpl<GsHomeManage> implements GsHomeManageService {
    @Resource
    private GsHomeManageMapper gsHomeManageMapper;

    @Override
    public IPage<GsHomeManage> pageList(Page<GsHomeManage> page) {
        IPage<GsHomeManage> gsHomeManageIPage = page(page);
        return gsHomeManageIPage;
    }
}
